const {resolve} = require("path")
const ts = require("rollup-plugin-typescript2")
module.exports = {
    input:"./src/check.ts",
    output:[{
        file:resolve(__dirname,"./dist/index.js"),
        name:"check",
        format:"umd",
        sourcemap:true
    }],
    plugins:[
        ts({
            tsconfig:resolve("./tsconfig.build.json"),
            extensions:[
                ".ts",
                ".js"
            ]
        })
    ]
}